
<link href="__PUBLIC__/vendors/bootstrap-tagsinput-0.8.0/dist/bootstrap-tagsinput.css" rel="stylesheet">
<style>
    input{
        border-radius: 10px!important;
    }
</style>
<form class="form-horizontal" id="form-cash-setting">
    <div class="form-group">
        <label class="control-label col-xs-1">
            订单自动收获时间：
        </label>
        <div class="col-xs-6">
            <input id="auto_account_time" name="auto_receive_time" type="number" min="0" class="form-control"
                   placeholder="发货后几天自动收获" value="{$rate.auto_receive_time|default=0}"/>
        </div>
        <label style="text-align: left" class="control-label col-xs-3">
            （单位：天）（发货后几天自动收获）
        </label>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-1">
            未支付订单自动取消时间：
        </label>
        <div class="col-xs-6">
            <input id="auto_order_time" name="order_time" type="number" min="0" class="form-control"
                   placeholder="自动取消时间" value="{$rate.order_time|default=0}"/>
        </div>
        <label style="text-align: left" class="control-label col-xs-3">
            （单位：分钟）
        </label>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-1">
            签到赠送积分：
        </label>
        <div class="col-xs-6">
            <input id="sign_normal" name="sign_normal" type="number" class="form-control"
                   placeholder="签到赠送积分数量" value="{$rate.sign_normal|default='1'}"/>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-1">
            积分抵现比例：
        </label>
        <div class="col-xs-6">
            <input id="can_use_coin" name="score_rate" type="number" min="0" class="form-control"
                   placeholder="积分抵现比例" value="{$rate.score_rate|default='100'}"/>
        </div>
        <label style="text-align: left" class="control-label col-xs-4">
            积分=1元
        </label>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-1">
            订单金额积分可抵扣比例：
        </label>
        <div class="col-xs-6">
            <input id="order_score_rate" name="order_score_rate" type="number" min="0" step="0.01" max="100" class="form-control" value="{$rate.order_score_rate|default='0'}"/>
        </div>
        <label style="text-align: left" class="control-label col-xs-2">
            %
        </label>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-1">
            佣金提现扣费比例：
        </label>
        <div class="col-xs-6">
            <input id="withdraw_rate" name="withdraw_rate" type="number" step="0.01" max="100" min="0" class="form-control"
                   placeholder="提现时扣费比例" value="{$rate.withdraw_rate}"/>
        </div>
        <label style="text-align: left" class="control-label col-xs-2">
            %
        </label>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-1">
            会员最低提现额：
        </label>
        <div class="col-xs-6">
            <input id="user_withdraw_min" name="user_withdraw_min" type="number" min="0" class="form-control"
                   placeholder="用户最低提现额" value="{$rate.user_withdraw_min}"/>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-1">
            注：
        </label>
        <div class="col-xs-6">
            <label class="control-label" style="color: red">
                所有的比例设置，只需填写整数部分，（例如：15%，只需要填写15）
            </label>
        </div>
    </div>
    <!--提交-->
    <div class="form-group">
        <label class="control-label col-xs-2"></label>
        <div class="col-xs-3">
            <button type="button" class="btn btn-success btn-block" onclick="ajaxSubmit('form-cash-setting')">
                提交
            </button>
        </div>
    </div>

</form>

<script src="__PUBLIC__/vendors/bootstrap-tagsinput-0.8.0/dist/bootstrap-tagsinput.min.js"></script>
<script type="application/javascript">

</script>